login field changing to lowercase before trying to login.
When registering an account, the username is converted to lowercase.