WICKET-5582 when using UrlRenderer for encoding of redirectUrl,
RequestCycle might already be detached