HPCC-12164 Cant bind HPCCAdmin to LDAP on 389DS

Because we now LDAP bind an HPCC Admin account instead of the LDAP Admin
account, we need to rework the distinguished name string used for the bind.
This fix adds a check of whether or not we are binding as LDAP Admin, which
would be the initldap tool that creates the initial OUs and HPCC Admin account,
and uses the CN specifier if we are, otherwise specifies UID

Signed-off-by: William Whitehead <william.whitehead@lexisnexis.com>