use dockercfg registry auth if found

https://github.com/docker/docker/blob/v1.1.2/registry/auth.go instead of linking to master and leaving the tag in a comment