[BUGFIX] Do not depend on a database connection in CLI authentication