Fix some typos and casing for cookies.
Clean up XHR-with-cookie test in hopes of fixing Node 0.8 build.