Three fields and you're in.
The signup endpoint accepts JSON as well as form data: POST /api/signup.
POST /api/signup