refactor session store initializer
set the path attribute of the session cookie when a relative url root is set
config can contain an empty string. use presence to convert that to nil. pass it directly to :path. rails handles the nil case with its default like before.