Switched cases for setting a domain cookie.

We were only using a domain for cookies when on localhost, which is the exact opposite of what we intended.