Base 64 Encoding (and decoding) for Basic Auth Headers