Various improvements in index display

Sorry it's all in one commit, but it's also rather short.

* Improved: render speed in production. Jade at runtime is just terrible for both render speed and memory consumption, but it's very convenient during development. I wrote a short piece of code that will use pre-rendered jade in production and will compile jade in development. Quick test showed a drop from 1200ms to 100ms.
* Fixed: there was a case where user couldn't see its webdav credentials. It was a very annoying case, because it only happened the first time the application is installed (first start). @clochix had this and I couldn't reproduce.
* Removed: a useless route.