Rework auth tests