Authentication in test.