Patch for router

Let's authenticate on the right req.originalUrl if possible.