An internal function for getting a Cloudshelf Authentication Token.
domain
Returns String .
cloudshelves
device