LMS-11371 Fix register bug - encoding of course_id.