Updating to trim the password before sending.