Corrected issue with mixed case email login

There was a toLowerCase() call in here which should not have been there.