Fix login redirect