RepositoriesController throws exception when attempting to show invalid git repo. Reworked auth proxy: refactored, and now allows access to public repos for unauthenticated users.