WICKET-5203 Base url is incorrect for error dispatched pages