Fix bug in "Invalid key" test case for InstructorCourseJoinConfirmationUITest #1935

As title