Implement forum cohort visibility labels correctly

TNL-25
Merge pull request #5046 from edx/andya/cohort-visibility-labels-2

Implement forum cohort visibility labels correctly