Fixed auth tests