MARI-17 updated to use non apache base64 encoder due to android having its own base64 encoder which casuse conflict