refactor CelementsWebPlugin: extract TokenBasedUploadCommand