Add a feature test for logging out