adapt auth tests