Deduce auth version (from cmd line args / env vars)

Fixes https://github.com/zerovm/zpm/issues/173.