refactor: reduce lookup path requests

What does this MR do?

Reduce the number of lookup path requests by avoiding re-requesting the lookup path.

The auxiliary middleware is merged into the authorization middleware: now that artifact handling and https redirect have been abstracted out, the auxiliary middleware is doing duplicate work.
By merging it into the authorization middleware, the lookup path request is atomic (one request per incoming http request, instead of three).

TODO

Edited by feistel

Merge request reports

Loading