The patch given by DamianS will work fine, however you have to apply it not only in the template.html file but also for your current web access page (usually the index.html file located in C:\Program Files (x86)\TSplus\Clients\www ).
The template.html file will only be used if you re-generate your web access page using our Webmaster Toolkit
var loc = window.location+'';
if (loc.indexOf('http://')==0){
loc = loc.replace('http://','https://');
window.location.href = loc.replace(':8080','');
}