'docker login ...' to private AWS repo does not populate config.json correctly

I think this might be a problem with the credentialhelper: https://github.com/docker/docker/issues/22910

Also see: [solved] Unable to docker pull from private gcr repo