Construct a Basic authorisation token from user and pass.
user
pass
a userid
a password
the base64 encoding of the string user:pass. g_free after usage.