Added authentication test