write cookie for htgt authentication
Added encrypted htgt session id to cookie
authentication key read from config file
Merge branch 'devel' into write_htgt_auth_cookie