Cookie fixes

This should fix:

* ping timeouts after recreating container
* service unavailability because of cookie logic

@tanmaykm this is correct?