I've a elysia.js backend application deployed on railway & a next.js application deployed on Vercel. I'm using Google Provider for logging in. When I'm running it without compiling on Railway, I'm able to login in the next-app without any issues, but if i'm compiling it and deploying it, the login app redirects back to the login page of next-app instead of protected pages.