auth now a part of resource
moved auth into resource
Merge pull request #12 from cloudant-labs/auth-in-resource

auth now a part of resource