make auth command synchronous