Ensure LMS passes correct group_id when querying content

TNL-23
We need to test both that the thread list query for the single_thread view contains the correct group_id filter (which should use the GroupIdTestMixin classes) and the access to the specific requested thread is appropriately handled. We might want to break that into two separate test case classes.