Made signing really URL-safe.

Inserted a replacement of the two base64 characters which are not
URL safe: + becomes - and / becomes _
Merge branch 'hotfix/1.1.2'