Fixing case insensitivity for logging in with an email address.