Don't resolve login() promise for logged-out state