Deal with misconfigured vaults. Added tests too.
Merge pull request #1 from 37signals/handle405s

Deal with misconfigured vaults. Added tests too.