Merge pull request #2784 from captbaritone/bug/unneeded_session_code

Remove unneeded manual escaping of session data