Ensure static path in the switch cookie