Authenticity token fix when switching language

Fix for: #470