Resolves permissions errors on some server environments, most notably local development environments, which often have missing or restrictive session-writting permissions.