fixed X-Registry-Auth, now JSON and Base64
Merge pull request #26 from featurist/master

X-Registry-Auth should be now JSON and Base64