WICKET-5202 Page redirects can fail when using url encoding