Redirecting from /api/endpoints/api-key/ to /api/auth