Fixed login redirect.