[BUG] Encrypted secret was getting twice base64-encoded.

Fixes: https://ripplelabs.atlassian.net/browse/WC-1711