def remote_pcsd_restart(params, request, session)
  pcsd_restart()
  return [200, 'success']
end
Authenticating a user, or otherwise establishing a new user session, without invalidating any existing session identifier gives an attacker the opportunity to steal authenticated sessions.