[sr-dev] git:4.2: core: keep the password only if the user part is set