Re-wrote auth tests