Added authentication tests