Added change to provider resource for login providers and alternate-named portals
Corrected issue with redirect