Resolves logout promise.