Allow users to log in with email address or username.