Sorry for reviving this old thread, but I have the same problem and my guess is that |, [ and ] are also illegal characters for usernames and cannot be enabled somehow?
I am about to migrate an old gaming forum from phpBB3 to Discourse and lots of usernames are like Clan|Nickname or [Clan]Nickname.