Additional fixes for the connect server
Fixed https://docs.angularjs.org/error/$location/nobase
Added correct 404 template