add encode_and_sign_policy and bucket_url to CloudStorage