Expose stock user/pass credential utility
Move credential helpers to their own (optional) header
Merge pull request #1206 from ben/stock-auth

Expose stock user/pass credential utility