Added authentication testing