fix cookie handling with google chrome