Fix login/logout action redirects