use authentication-headers object for downloading images (Phonegap >= 3.0.0)