Corrected error in trade execution, cleaned up user sessions

Now deleting any outstanding tokens for email links when changing passwords.