fixing a bug for redirect loop for IE if applying for badge from lernanta