Add a warning when a withCookie / discardingCookie call is made outside a redirect