To test Jens' theory, I delteted the reg key, HKEY_CURRENT_USER\Software\KiXtart\TokenCache and ran the test script without logging out. It re-populated the reg key and identified my membership.
I conclude that the group token cache will refresh even if logging on with cached creds and RASing in afterward.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.