Fix a signing error -- properly encode resource URLs.