update Unauthorized Exception signature and tests