Support login on Safari iOS.