Stop triggering popup blockers

Also caches the auth result, so we aren’t checking if we don’t need to.