cmd/replicate.js :: capture unauthorized error and print friendlier msg