Please have a look: http://www.amember.com/forum/threads/csrf-protection-error-on-4-7-upgrade.20553/#post-73831