The scheme, the court documents allege, allowed union staff to land extra pay without membership approval