Using Apache's Base64 encoder/decoder
Made possible to debug logout stack trace