Fix weird cookie problem.