Added credential support to async image downloading