The edge middleware resolved the workspace by calling the SaaS landlord at /api/saas/workspaces/by-subdomain/<sub>, but the landlord serves that route under /api/v1/saas/... (the garage backend already calls it with /v1). The missing version segment returned 404, so no workspace_uuid/api_base_url cookies were set and the proxy responded "Workspace session not found", blocking email/password login on a cold visit to <sub>.reparee.com/login. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>