Fix domain support for Rails session store.