[#42] Retake scenario well managed on server and web app now

Relative issue: #42
This update fix the problem of "auto-redirection" on student web app when retaking.