Create proxy endpoint for requesting backend with credentials
The authorization is done in Next with NextAuth. To verify the authenticity of the requests to the backend we need to make them through Next. To prevent the need of having too many forward endpoints defined in Next, create a Catch-all proxy endpoint that forwards the requests to the backend with the needed credentials.