Password inputs are always trimmed.

Fixes #440