Licensing, server side
Fixed base64 encoding of license data to be url safe
SERVER: Miscellaneous licensing fixes