Fix login redirect.

Change-Id: Iac6868522305c7fa7a750be28e4d94288fc59c7f