Don't depend on SGS flag, just use exception/text to inidicate logout condition