got proper cookie support working