Issue #2052967 by eliza411: Fixed Random usernames contain illegal characters, causing tests to fail.