Enable email login with custom user model.
Merge pull request #348 from benkonrath/email-login

Enable email login with custom user model.