Update federation_client dev script to support `.well-known` and work with python3.