Fixes for reverse proxies

Removed a few leading forward slash characters so that the app behaves well behind reverse proxies.