Fixing an LDAP bug

Fixed a bug that allowed a failed LDAP authentication to still gain
access to CORAL.