fix signature + encoding fuss (use hex instead of base64)