Support authentication when retrieving URLs