Fix 4802 – with certain group names user management is effectively unsable

to  String conversion was removed i https://github.com/owncloud/core/commit/cd7e57e8ec64ffef8faec750ebffbdc6138ec9a0 which lead to this problem.

fixes #4802 

Reviewers please @karlitschek @ringmaster @DeepDiver1975  or others