Move import to avoid possible ImportError.
Correct call to _credentials.
Merge pull request #2 from stevenosborne-wf/master

Move import to avoid possible ImportError.