updated utils to include methods to persist tenants and token to cache, updated associated unit tests