def _authstr(self, auth):
if type(auth) is dict:<EOL><INDENT>return '<STR_LIT:{>' + '<STR_LIT:U+002C>'.join(["<STR_LIT>".format(k, auth[k]) for k in sorted(auth.keys())]) + '<STR_LIT:}>'<EOL><DEDENT>return auth<EOL>
Convert auth to str so that it can be hashed