Adds password method to Form object

Adds the password method, which creates a password form.