Wrong context in authform :
1. go to a public course as an anonymous user
2. go directly to a private course using a link or by rewriting an url
-> the auth form display the title, titular and code from the public course one is leaving, not the private course one are trying to access