title: Email confirmation fails
body: <p>I need to confirm the user's email by link but ASP.Net Identity fails on this action. Below the code is how I generate a token:</p>
  
  <pre><code>string code = await UserManager.GenerateEmailConfirmationTokenAsync(user.Id); // Return Opd+0yNG++ZXFpRS19A8j8OgI7dzCAKTYWotHYvuu0nyYsH4SIQS+bHwkbmqQDlwvGAy5fyxxUsu4yIzHwF+PD6QNPU+PwBnIDUGMC9++FkMlqegqHVKpA59qvbokfI0yByYqLoZfD1EUpWExddDN0BN/SVNSgOKlyzd928k+k4O2/TnfSf/JFj8x1NUKuaj
  </code></pre>
  
  <p>And how I try to check and confirm it:  </p>
  
  <pre><code>[AllowAnonymous]
  public async Task&lt;ActionResult&gt; ConfirmEmail(string userId, string code)
  {
      if (userId == null || code == null)
      {
          Logger.Error(string.Format("userId: {0}, code: {1}", userId, code));
          return View("Error");
      }
  
      // args values: userId: b96bf253-62e1-4c5e-bf5f-5bc527df9fd9 code: Opd 0yNG  ZXFpRS19A8j8OgI7dzCAKTYWotHYvuu0nyYsH4SIQS bHwkbmqQDlwvGAy5fyxxUsu4yIzHwF PD6QNPU PwBnIDUGMC9  FkMlqegqHVKpA59qvbokfI0yByYqLoZfD1EUpWExddDN0BN/SVNSgOKlyzd928k k4O2/TnfSf/JFj8x1NUKuaj 
      var result = await UserManager.ConfirmEmailAsync(userId, code);
  
      if (result.Succeeded) // This is false
      {
          return View("ConfirmEmail");
      }
  
      Logger.Error(string.Concat&lt;string&gt;(result.Errors)); // Wrong marker
      return View("Error");
  }
  </code></pre>
  
  <p>There are no null-values I checked in the debugger. Why can it fail?</p>
  
  <p>P.S. I use Npgsql if it is important and all works perfect except this.</p>