More password validation fixes.

Don't call #trim when checking password length.  'foobar  ' should be
a valid, 8 character password.
Minimum width for registration form container.

Ensure the div stays wide enough to wrap all elements, even if the
window is smaller than reasonable.