Fixes server bug and allow renaming of random cohorts.

Still needs unit test for renaming of random cohorts.