Add base support for cohorted group configurations

TNL-649
Thanks, I missed that one. I don't understand why this header logic has to be repeated everywhere, although I can see that it is subtly different each time. For now I'm just going to make the local fix.