Ensure that API URLs always reverse to the version specified by API_CURRENT_VERSION (bug 963144)

 r? @diox @washort