fix quota mgmt api test. cc @ebidel. fixes #866