Fix edit auth page bug