replaced internal sun Base64 encoder by the apache-commons one