Make it possible to serve the app below a URL path prefix
This includes fixing rewrites and cookie paths. It's not strictly required, given that we are assuming a reverse proxy setup, as modern reverse proxies should be able to properly rewrite cookies and headers, but making the url prefix a configurable parameter would make things a lot easier. Also, we generate absolute URLs to static content so we'd have to rewrite the page content in the proxy... brrr