fixed restricted section access link

removed "schema + "://" + server + (port == 80 || port == 443 ? "" : ":" + port) +" from the link to prevent links with duplicated url's, such as this:

https://barra.tecnico.ulisboa.pt/login?next=https://id.ist.utl.pt/cas/login?service= **https://fenix.tecnico.ulisboa.pthttps://fenix.tecnico.ulisboa.pt** 
/disciplinas/IIPM5/2013-2014/2-semestre/pautas-e-solucoes

from being created.