Use console based authentication only when needed