Explain token generation on the welcome page

Add token generation manual to the welcome page. Display example code
containing the current configuration dir, to generate tokens.

fixes #7408