fix(ldap): improve Active Directory support

-- LDAP group query encoding fix
-- Escape id in LDAP user search filter
-- Find users by group id assumed user DN always contained uid

Related to: #CAM-2478