[3.8] Fix #1570 Add terms of use accept link according to configuration