Added keystone-auth to get a token
Allow parameters to include an equals sign
script to download an image incl. authentication

Also check status code, and fix the call to requests library.