Fix auth dialog never showing up bug