Issue #20264 Throw handled error Unauthorized 401, not Access Denied