Allow login/logout and redirect for both.