Refactor autoscale and cloud databases tests to use Mock Web Server