fix bad redis session options handling