Testing cookie retrieval on server