MDL-9399 - auth/shibboleth: ensure we load enrolments
MDL-9399 - auth/shibboleth: ensure we load enrolments

Most of this code should be replaced with complete_user_login() but it
does a few odd things, so we'll play it safe for now, specially since
I don't have a Shib setup to test...

dilawar/moodle