Quickfix.
Reading credentials from the environment + fix for incomprehensible problem.