Prevent loss of stubbed memberships for MockUser

When the mock user was marshaled and subsequently unmarshaled it would
loose its stubbed memberships.