Fixed permission issues on pcsd directory
Generate a permanent session secret on first run