XWIKI-8874: Templates should not output any content to the client side when a sendRedirect has been called