This should be changed to `PlayAuthenticate.logout(session())` and the dependency to the controller removed.