main.js: add GET /merchants/:merchant_id/avatar and /merchants/:merchant_id/license.