Made the cookie hostname work for any domain