Fixing elfinder + ckeditor + course and session loaders see #7006 + BT#7058