227 login with email

PR for https://github.com/backdrop/backdrop-issues/issues/277
This seems like it would cause a PHP error, I'm a little surprised tests are passing. Probably just a typo.