Update stream.js

fixed bug exposed in new request module's new auth() function.