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