be41678c5e
By using complete_user_login() we ensure that the session is fully setup, and that enrolment plugins are called correctly.