A mock cookie implementation to ease browser-less testing