QA-6596: fix ldap url parsing when we deal with dynamic groups