Cookie bug fixes.