when login is successfull, update the CSRFToken in OpenLayers.Request.DEFAULT_CONFIG.headers
Merge pull request #1253 from bartvde/login

Map saving gives a CSRF error