fixed: auto generated usernames during registration contain invalid
characters