Read Idps from outside config

Ugly implementation to allow reading idps from outside configuration
files.