added generic user/password environment support