Make sure ldap filter is not empty when searching, use (objectclass=*) by default
ldap_search() throws errors on empty filter as find out in
http://trac.roundcube.net/ticket/1490269. As this was a configuration
issue we can simply prevent that and provide real and working default.