Recreate instructor account if detected to be null
Merge branch 'master' into Issue1941
Added tests

Add a test for when instructor joining but account creation goes wrong
[1941] InstructorCourseJoin: joined without Account

fixes #1941