Strip invalid characters from username - fixes #121