Fixed logout test