oauth fix for older versions of git