Tweak session generation code to add LR/AR domain to its cookie