Use the AccountManager plugin to provide HTTP authentication from Trac itself.
Homepage PyPI
pip install TracHTTPAuth==1.2
Login to resync this project