Use smaller tokens to improve client compatibility

An older version of curl was found to have trouble using especially
long strings for basic auth. Shorter string work, and are less awkward
to deal with in general.
Remove a bash-ism for better compatibility