Better handling of invalid usernames.