Allow connection without env. vars. defined (e.g., by config instead).
ENH: Add local_only option.