do not show selected groups twice after user creation

Fixes #9716: upon user creation the selected groups have been shown twice in the multiselect.

Please test/review @brozkeff @PVince81 @VicDeo or others

@karlitschek papercut – OC 7 CE or not?