add credentials support for downloader

This adds a simple but hopefully convenient feature to the simpleDownloadUrlAs method