Adding status to UnauthorizedAccess error