Item12616: Group order inconsistent

Perl 5.18+ causes groups to be displayed in inconsistent order.  For the
test looking to ensure that hidden groups remain hidden, search for the
hidden groups instead of matching the entire list of groups.

git-svn-id: http://svn.foswiki.org/branches/Release01x01/TopicUserMappingContrib@17012 0b4bb1d4-4e5a-0410-9cc4-b2b747904278