public function getLoginCheckPath()
    {
        $login_check = $this->app['request']->getBasePath();

        if (($firewall = $this->getFirewall($this->getCurrentPathRelativeToBase()))) {
            $login_check .= $firewall->getLoginCheckPath();
        }

        return $login_check;
    }