Jormungandr: manage URI's authentication

Wasn't working for uris like /v1/lines
Merge pull request #417 from l-vincent-l/fix_auth_uri

Fix auth uri