Allow for custom authentication with tokens
Fix tests and bump version