[backend] Add helper to restart Seashell in login.cgi