def METHOD_NAME(self):
    request = self.make_request()
    request.session["_after_2fa"] = "http://testserver/foobar/"
    result = get_login_redirect(request)
    assert result == "http://testserver/foobar/"
    request = self.make_request()
    request.subdomain = "orgslug"
    request.session["_after_2fa"] = "/foobar/"
    result = get_login_redirect(request)
    assert result == "http://orgslug.testserver/foobar/"