Login now uses email address rather than username.