LDAP AD Fixes

Fixed a problem where when using an empty password you could bypass
authentication to domain controllers that support anonymous bind.