Fixed an issue with third party login redirect urls