fixed auth tests