Attempt to fix comfy issues when logging into the portal.