Switching between servers broken through cookies