captiveportal: fixes to portal_send_plea
captiveportal (broken): sends a test email when going through cp.  in generate_plea_id is null