Make cookies work more legitimately.