jruby does not return an ArgumentError on Base64 decode if it can't decode String (it returns empty String).