Username field still validated when enabling anonymous authentication
Bug description
When creating a new account and choosing anonymous authentication, the 'username' field in the dialog is still checked for validity, although it is not used (and input disabled when anonymous is enabled).
Steps to reproduce
Go through the new account wizard. Choose to use an existing account. Enter only a domain and enable anonymous authentication. Click 'Forward'.