From Saudi Arabia to Nepal, government databases are protecting the paperwork while leaving vulnerable workers to pay the price.