Fix course password 2

Here is a new attempt to propose a way to access a public course with password as anonymous user.