Allow users to login with email. Fixes #2