The online government database was supposed to bring some transparency to the multimillion-dollar market in political TV ads, letting the public more easily see how much politicians and advocacy groups spend in major markets. But it also has inadvertently opened up some of those involved to fraud.