Fixing passwords if left blank.