Enable persistent external login, fixed login redirect