Account for missing Base64 padding.

dir-spec.txt says that the Base64-encoded fields do not use the padding
character "=".  As a result, we first have to pad Base64-encoded data
before we decode it.