local auth setup (tests will be adjusted a bit)