Read password from ENV variable instead of prompting

This is useful when running scripts and no user is around to enter
the value. In particular, for various CI server setups