Fix auth page not being removed