Fix login redirect.