Resource auth tests