Try to fix the cookie duplication problems.