Completes loging process, must return user instance

def auth_complete(self, *args, **kwargs):
        """Completes loging process, must return user instance"""
        if self.ENV_USERNAME in os.environ:
            response = os.environ
        elif type(self.strategy).__name__ == "DjangoStrategy" and self.ENV_USERNAME in self.strategy.request.META:
            # Looks like the Django strategy. In this case, it might by mod_wsgi, which stores
            # authentication environment variables in request.META
            response = self.strategy.request.META
        else:
            raise AuthMissingParameter(self, "%s, found only: %s"%(self.ENV_USERNAME, str(os.environ)))
        kwargs.update({'response': response, 'backend': self})
        return self.strategy.authenticate(*args, **kwargs)