Fixed the stsdb transport to use environment variables