fix client authentication
init test