auth support

auth = { "username" : $username, "datetime":$datetime,"sign":$sign
sign = MD5( "%s|%s|%s"%(username, datime, privatekey))