Allow users to log in by email address (fixes #320)