Get cookie timestamp from response in time

* Fixed tests