Add authentication to /form

Fixes #7