Draft solution to #30
Fixes from thread on #30
Propagate index settings (from #30).
Tolerate unsused arguments in image_token()

For #30
Fixing error messages when using dockercfg setting