Adds validation to the create account dialog/wizard

It also make the login-dialog set focus on the username-textfield, instead of the psw-textfield.