fix client side cookies when server encrypts server side cookies