Mdl24 enrol authorize

Hi Olumuyiwa

I have been doing some work on the authorize plugin. Would you care to take a look, and consider merging in my code?
Any suggestions for further changes are welcome :)

Regards,
Chris