Restore password inputs.

see #585