better test for presistant logins (8.6 Exercises)