Fix broken cookie test.