Fix bug DNN-4171: set the LastIPAddress property when retrieve data from db.