fix auth races that may have lead to qemu crashes