Return status code 401 for an invalid secret