Fix api resolver for getting api auth tokens on raet