i change via-file into via-env
that means the username+password will be available via env vars, but you must add
script-security 3
to the openvpn server config if you have not already done so.
If you want to try it using 'via-file' then create a sample password file
/tmp/password containing only:
testuser
testpasword
then run
bash -vx /etc/openvpn/auth_vpn.sh /tmp/password
and look for any errors.