AuthConfig rep and internal base64 api
expose authentication api
x-registry-auth headers for push and pull + an auth checking api
update readme examples with auth config