Set/refresh controller ID from S3 config.