SC4G #50: Fixed resume urls, implemented basic auth when downloading files from the server