API: enrol user in a course

Hi @mslyon

This thread might help you in resolving authentication issue.