prevent anonymous auth if auth is set to != None
added a test for ldap
added a comment to ldap
modified tox.ini to show coverage