Fixed iglooportal to use loginmac instead of loginip