Bug fix for oauth cloud.