Improving authentication tests.