ENG-7068 database fails if security is enabled with no users

minor done need else here.