Fixing password protected course.
Fixing coaches assignation when updating the course session using the course_edit.php or a import via a CSV file see BT#6665