Accept an invitation to join a course.