Log LDAP errors if they occur when searching for users

This will help developers trying to debug why ldap is not connecting. Eg invalid LDAP username/password