WICKET-5679 RenderStrategy REDIRECT_TO_RENDER lets fail test with BaseWicketTester#startComponentInPage

(cherry picked from commit c3795bd0ed0df1a9e73fcba37cf911192307dbe1)