fixed bug in Mojo::Server where secondary groups were not reassigned correctly