Fixed possible issue with uppercase letters in usernames.