Login with ASP Identity fails every time with "Not Allowed" (even when 'email' and 'username' have the same value)) : <p>Registering a user works fine, as it logs in via this line:</p>

<pre><code>await _signInManager.SignInAsync(user, isPersistent: model.RememberMe);
</code></pre>

<p>But if I want to log in with the same user again does not work (the Task Result always returned "Not Allowed").</p>

<pre><code>var result = await _signInManager.PasswordSignInAsync(model.Email, model.Password, model.RememberMe, lockoutOnFailure: true);
</code></pre>

<p>I do realise that PasswordSignInAsync expects a USERNAME, not an EMAIL - but they are one and the same for my application.</p>

<p>I have tried every variation of the log in methods, including checking if the user and passwords are correct (which all succeed), passing in the user object, altering the ViewModel property name, etc. </p>

<p>Any ideas what needs to change?</p>

<p>Similar issue for context: <a href="https://stackoverflow.com/questions/26430094/asp-net-identity-provider-signinmanager-keeps-returning-failure">ASP.NET Identity Provider SignInManager Keeps Returning Failure</a></p>

<p>Thank you.</p>
