Invalidate session on successful register to prevent POST replay.
Merge pull request #210 from jbarrett/invalidate-register-sessions

Invalidate session on successful register to prevent POST replay.