[refactor] extract auth method
timeout authentication after 60 sec
replace 'log' with 'logger'
fixed client test