The token approach is problematic here, since each image should have a different token (logging for a different 'host').