changed cookie name from hard coded to be config option, defaults to sharelatex.sid