Updating test to include authentication