Fix regression, auth not working for projects when reconfigure lib