Allow configuring authentication timeout
Change authentication timeout to use rename instead of kill