Fix in has_secure_password for passwords containing only spaces.

Steps:
1. Existing model with has_secure_password. With encrypted_password stored.
2. User try to update password with password containing only spaces.
3. Password is discarded. Model is valid and stored. Password is not changed but no error massage given.