Fix test to include authentication