Make annotator.logout() return a promise, too