NEXUS-6323: Detect base64 problems and emit them as IAEx

As otherwise it would be a "generic" runtime ex wrapped by
Throwables, and reasoning about "bad input" would be lost.