Fix cookie persistence
Adds test for subsequent cookie responses