Make LDAP bind failure cause an ldap_error, rather than an invalid_credentials

Fixes #51