Small improvement to logging

This adds a small improvement to the logging (allows you to see the number of results returned from the ldap search when looking up the user). Not needed for everyone but i found it useful :).