revoke automatic login cookie before registration (fixes #3416)