diff --git a/nixos/tests/run-client.py b/nixos/tests/run-client.py
index bcd01e1b04a9b41cb7aa75f29fd3247d995d2527..e6cde321bdeb8a2b2493c984cce116a0287b16d1 100755
--- a/nixos/tests/run-client.py
+++ b/nixos/tests/run-client.py
@@ -33,6 +33,10 @@ def main():
     config.add_section(u"storageclient.plugins.privatestorageio-zkapauthz-v1")
     config.set(u"storageclient.plugins.privatestorageio-zkapauthz-v1", u"redeemer", u"ristretto")
     config.set(u"storageclient.plugins.privatestorageio-zkapauthz-v1", u"ristretto-issuer-root-url", issuerURL)
+    # This has to agree with the PaymentServer configuration at the configured
+    # issuer location.  Presently PaymentServer has 50000 hard-coded as the
+    # correct value.
+    config.set(u"storageclient.plugins.privatestorageio-zkapauthz-v1", u"default-token-count", u"50000")
 
     with open("/tmp/client/tahoe.cfg", "wt") as cfg:
         config.write(cfg)