append the base path from config.publicUrl to all routes

This will allow hosting the auth server from a location other than the root. A simple url rewrite at a higher level doesn't cut it because it would break hawk authentication.

:beer: to @rfk for the idea :)