test "user-defined cookies survive redirects"