fixing broken login if app has multiple url schemes and Facebook is not the first

fixing broken login if app has multiple url schemes and Facebook is not the first