Integration test logout fixed