Added login method to the DataSourceClient.