Add sanity check for expired session