Fix free_ips.py to work with secrets. r=rail