Fix permissions for session storage