Fixed authentication, to read from env vars.