[Koha] Unexpected behavior when authenticating over LDAP (AD)