Fix login name validation error with capital letters.  Switch to using e-mail address by default for better consistency across registrations.