[BISERVER-11184] Impossible authorize if the username contains "-" character
Merge pull request #1394 from mdamour1976/5.0

[BISERVER-11184] Impossible authorize if the username contains "-" character