Update 'req' command to use new keygen API.