Updated auth object based on new plugapi.
Using develop branch for new plugapi version.