Resiliency of Power Systems in the Cyber Layer: Application to Load Forecasting and Security Assessment