Added url encoding to parameters to make license key passing work correctly.