fix getting login redirect url in activateaccount