Create auto cohorts when list_cohorts is called.

TNL-186

@andy-armstrong @jimabramson Please review.
Instead of sorting, better to use sets (and apparently set comprehensions are a thing; just replace the [] with {})