Make the password field optional.

This means that users can now upload files only.
Fixes #261