Refactor to remove dependency on the Android support library
Only set auth on download requests if it is actually available (some
servers send 403s for empty auth headers)
Fix test details