[core] Make search bind authentication optional for LDAP