Title: Tweak allowed characters for groups, kickstart users and groups.
Description
Resolves: HMS-10513
Task
Modify the repository so that the issue described above is resolved. The task's test suite verifies your patch by applying it on top of the base commit 3a647102d366 and running the modified tests.