Fixes for path support

1. fix auth functions to look at correct config var
2. include path in get_url
Merge pull request #14 from djmitche/path-fixes

Fixes for path support