Added support for API version in Service::login()