exception on relogin fixed by updated authhandler and serverhandler
client and clienthandler are updated likewise.