Base64 URL encode sig in JWTs

It was currently being sent out hex encoded.
Fixes #5 

@shane-tomlinson r?