Updated to save path params to a new location rather than changing
the existing URL path as this breaks oauth authentication