Added resumeLoginPromise. Updated docs