Fixed assert-crash on some situations when user had no supplementary groups.
Fixed assert-crash on some situations when user had no supplementary groups.

damoxc/dovecot,damoxc/dovecot,damoxc/dovecot,damoxc/dovecot,damoxc/dovecot