It is more code than a simple `time.sleep(10)`, but what about setting up a `WebDriverWait` to wait for an element that will only be present if the user is logged back in. Then wrap that in a try and if an exception is *not* thrown then we know they were logged back in and the test should fail.