Small fix to usernames before checking credentials