set correct cookie domain