compat: convert to base64 without line feed

This is regression of change Ie7a540d9c69, as the ticketing base64
conversion should not contain line feed.

Change-Id: I33790b47ede99eade178b488a66cd8cc280cb872
Signed-off-by: Alon Bar-Lev <alonbl@redhat.com>