Merge pull request #3383 from libgit2/cmn/http-error http: propagate the credentials callback's error code