Improved REST API for authentication and vspecs.