Using promises to talk to olyp-auth