Checkmk Werk 12665: OMD: Fix potential performance issue when system wide LDAP authorization is enabled