minor style changes
fix auth for node v0.9.2

previously, auth had no default value so .extend caused no problems
after
https://github.com/joyent/node/commit/7144be70db2e6ce337d0f6ec47a28a06802d1c7a,
auth defaults to none so we must use .defaults instead