handle XSRF token, fix issue #3918
handle XSRF token, fix issue #3918

ScottPJones/beaker-notebook,ScottPJones/beaker-notebook,ScottPJones/beaker-notebook,ScottPJones/beaker-notebook,ScottPJones/beaker-notebook