Really wish we could avoid a cast to a concrete class here. I'm thinking something like:

1. Declare an interface `LogoutableService` or similar that defines the `isLoggedOutYet` method.
2. Have `AbstractWebAppService` implement that
3. Change the cast here to `LogoutableService` here instead.