[CI] Make `install_user.sh` compatible with Focal (#77622)
By adding explicit `/etc/shadow` entry
Also, add test that it works, by running `sudo -v` as user `jenkins`
Pull Request resolved: https://github.com/pytorch/pytorch/pull/77622
Approved by: https://github.com/kit1980