Fix bug#5345: password asked when visiting files on a lightweight checkout.