fix default config formatting and add notes
fix a couple of var checks and add getenv for client creds
fix var check in eval conditions