Fix BasicCryptoService hmac key reading