Fix CURRIKI-6364.
Use the LTV cookie for long term couting instead of the session.
Clean up obsolete comments.
Fix CURRIKI-6369.
Page opens in login dialog when placing a
link in the message of the dialog.