The username should be a valid email address. If it does not contain '@' in the username, it will not be considered a valid email address.
The password must be 8 characters or more, and contain at least 1 number, 1 lowercase letter, and 1 capital letter.