[Koha-bugs] [Bug 36161] ILS-DI AuthenticatePatron broken when LDAP enabled and auth falls back to internal connection