fix auth page + update test according to changes