Fixed the authenticate test.