Allow login by email through LDAP

Nice, I like it! One suggestion though: I believe you can can do a logical OR in LDAP queries. I think that would be preferable to making multiple queries in the for loop.