Hello and welcome to this forums.
This is basically a duplicate of the following:
- Unable to log in or create new users
- (Kali) Can't create GVM user, throws an error "Failed to create user: Invalid characters in user name"
The bug report for Kali can be found here at 0007926: Unable to log in to greenbone after full upgrade and reboot - Kali Linux Bug Tracker