Make test working with authentification