Using Javascript preprocessing step with the code:
return atob(value);
return incorrect data, while btoa works fine: