Support basic_auth in git provider

Add basic_auth support for git provider