Fixed issue #9035: LDAP-search and bind not working with MS ActiveDirectory

Dev: AD needs referrals disabled. Added option in
Dev: plugin settings
Fixed issue #9034: Authentication with blank password using LDAP

Dev: This may or may not be a problem only with ActiveDirectory
Dev: and also depends on the servers settings