Add support for --beta to use the beta api server.