Attempt at fixing auth tests