Preserve query string in generated long response urls if present (mainly for GWT)
Don't hide unique constraint exception message