Add auth helper and reuse it in git downloader
Add comment
Load scripts without preloading a composer instance to avoid side-effects, fixes #3155
Fixed composer.lock hash
Merge pull request #3170 from markuspoerschke/feature/fix-composer-lock

Fixed composer.lock hash
added test unlinking directory

#3157
rmdir needs to be used on windows to remove symbolic links to directories