refs #6720 : before displaying an error, refresh the page, in case it's just an issue with the lazy session handling