Fix for TestLoginLogout.test_logout_from_pages