Fix authentication for git repository.