Added salt field in array if new password is not empty