Welcome to the forum @drewli.
Did you consider including in your script template a dictionary where you map cryosparc_username
(guide) to an account number?:
{% set accounts = {"csuser2@org.internal": "acct002", "csuser3@org.internal": "acct123"} %}
and set the account like
#SBATCH --account={{ accounts[cryosparc_username] | default('acct000') }}
?