Added support to login post to / and a fix for IE