Modify session information to prevent clashes between components on same ServerName

make cookie name configurable

(from redmine: issue id 1150, created on 2018-08-16tgradl, closed on 2018-08-16)