[addresses #53268161] Updated to include extra information to the Unauthorized exception.