Fix onAuthChange getting fired multiple times.