Completed validate_account_name.