Fix login next redirect.