extremely rough work-in-progress for curl auth callbacks

This adapts git to use curl's new auth callbacks for
managing credentials. This is just enough to get it working
experimentally for me.