split the isTest flag into usesFakeAuthentication and usesLocalDatabase