'This is the method that actually calls the plugins in order to login
to the web application.'

@task_decorator
def _login(self, function_id):

    for plugin in self._consumer_plugins:
        try:
            if (not plugin.is_logged()):
                plugin.login()
        except Exception as e:
            self.handle_exception('auth', plugin.get_name(), None, e)
