Added Base64 encoding of signature.