Added dirty hack to fix base64 string decoding.

PHP replaces + to _ automatically, so reverse this step can fix the
problem.