Don't restore the session if a query is given at the url