integration test for login/browse/logout