fix some issues with login cookie fs