updates to new wagn api (auth, env, etc)