Fixed cookie problem.