The `RouteParam.idValidator` should be before `ensureAuthorized` so that there is not a 500 error when the user enters in an invalid id. _Originally posted by @pierreTklein in https://github.com/hackmcgill/hackerAPI/pull/285_