remove code which stripped scheme from redirect urls