Fix for API Urls on Stats, Config and Replication pages

Closes COUCHDB-2439