Adds middleware for converting the request back to the original request (Azure AppServices decode path strings and there is currently no way to disable).
For more information see dotnet/aspnetcore#40532 and Azure/azure-functions-host#9402
Register the middleware
app.UseRestoreRawRequestPathMiddleware();