The page looks suspiciously a lot like the shop page with route /:shop/, if the login page did not match exactly at /login then it would fall back to /:shop/. To avoid all pages falling back to shop, you should consider renaming the shop path to /shop/:shop/.
I think you deleted the login page, so I cannot 100% confirm this is the issue. Caching shouldn't be an issue on branches as we don't actually cache except on production "main".