Ask for login after direct link to a course - ref #6768