Second attempt at email login with custom user model.