To link the security group with the SID, an entry must be added to the SecurityGroupSID table, setting the groupname and sidname attributes.
To do this, create/add to the SecurityGroupSID.dmx file in the %SERVER_DIR%/components/<custom>/data/initial , where <custom> is any new directory created under components that conforms to the same directory structure as components/core.