Small gateway bug fix to report also invalid authorizations.