Changed auth.resource to use the new resource promise and also enhanced the resource promise + docs.