Fix LDAP authentication by adding a new 'domain' constant