Revert "change login redirect rule"

This reverts commit 9781296e64943b6fb4544a4e15dec2f5ee136b80.