XWIKI-10032: Add built in support Apple's open directory groups

(cherry picked from commit 48b1351d05bb35190d05e73e4ab6e0f98de0f8ab)