* test persistCredentials without a pickle key * test setLoggedIn with pickle key * lint * type error * rest restore session with pickle key