Issue #2522002 by mcdruid, izmeez, alrueden, albertski, Fabianx, mforbes: Hotfix for session cookie domain when www subdomain is in use