MDL-62426 core_enrol: control enrolment subcontexts at the provider