401 status should be treated as an error.