rename flush to logout, add missing methods to authServiceMock