Added checks for current idp, idp login hint and idp restrictions + tests (see #451)