def _login(self, user, password, restrict_login=None):
        """
        Backend login method for Bugzilla3
        """
        payload = {'login': user, 'password': password}
        if restrict_login:
            payload['restrict_login'] = True

        return self._proxy.User.login(payload)