XWIKI-10031: When a LDAP subgroup is listed as UID it's not expanded
* Add test

(cherry picked from commit e092e21a4575348eeee199a6c2193446f649264c)