Switch to using env variable for passing credentials. Fixes #8.

This is so that the credentials are not visible to other users
on the same system (e.g. show up in ps).