Base64url

This time I modified a test to expose the issue. If you run it without my fix you'll see the decoding error from window.atob().