Added Token encoder for generic parameters encoding
Added portal url to transmitted parameters
Added portal url check from is