Add a test to make sure we log the error on the www-authenticate header.