fix bug logout redirect to strange to port