MDL-41304: Hide and handle LDAP error when user not in context being checked