Ensure that group tokens are unique per connection id.
- Added the connection id to the groups token.
- Verify that it's the same connection id when validating groups.
- Added test to verify that you can't listen to messages if you have
  the groups token alone.

#1506