Fix login/logout redir URL