MDL-37391 add enrol_ldap tests and fix enrolment reviving