Use password cache if available.
Merge pull request #53 from ktf/credential-cache-support

Use password cache if available.