revert cookie key to sid