Add check for empty username and password for ldap servers that allow anonymous bind