Bug: don't use same ID for the forms. Feature: send all reg fields.

Bug fix: "form" was being used as the SAME ID for the 3 forms:
login/register/forgotten.
Added feature: if more fields are added to reg form via hooks, the
additional fields are sent to server. Previously, the added fields
appeared on the screen but their data were dropped.