Fix server not writing ["action"] to response in case of bad sid.