Update BasicEndpoint with fix for redirect