Added authorization error indication (issue #2179)