GenerateToken interface fixed in OpenTok

Related to issues #11 and #10