* added logging, in case Laminas libs are not available * make sure that internal users can still login if LDAP is activated