private function loadLogoutListener(AuthenticationProviderInterface $bbProvider)
    {
        if (null === $this->_context->getLogoutListener()) {
            $httpUtils = new HttpUtils();
            $this->_context->setLogoutListener(
                new LogoutListener($this->_context, $httpUtils, new BBLogoutSuccessHandler($httpUtils))
            );
        }

        $this->_context->getLogoutListener()->addHandler(new BBLogoutHandler($bbProvider));
    }