builder/amazon: prefer token in config [GH-1544]