Improved auth test.