Throw authentication exception if unknown secret is provided.