[#543] Resolve speed issues in resource proxy test with httpretty.
The problem was that httpretty slows down requests and this slowed down set_resource_url.