Adding comments in an attempt to figure out why it doesn't set userId-cookies.