set authentication also for new target

issue #9