#3073 (feature/session): Don't regenerate IDs on AJAX requests