WICKET-5191 don't create session unnecessarily, as it might be obsolete
after redirect anyway