Wasn't passing authentication args when needed.

Fixes #7.