Extend preview to support cohorted courseware

TNL-651.

Some code review has already been done on #6258. See that PR for sandbox information.
Agreed. But that actual string is being used to select from the combo box. And these are Lettuce tests (which we are trying to convert to bok choy), so I don't think it is worth the effort to change how the test is written.