Fix bug where ActivateAccountUsingToken would close the database connection prior to committing. Affected running on MySQL