Adding support for separate metadata url to idp.
- Not all idps have their metadata url as entity id.
- Based on code from @Raschmann in #144.
- Closes #146.
- Fixes #143.