Omit pad when Base64-encoding fixed-width strings

URI components and cookies need to encode =, which we can safely omit,
if the size of the encoded string is known at decoding.