Issue #277: Allow users to log in with usernames or e-mail addresses.