Load auth when updating a git repo mirror, fixes #3243