SIGN IN SIGN UP

refactor(login): move rate limiter after successful login

Before, we weren't checking if a login was successful before counting it
against the rate limiter.

With this change, we only count unsuccessful logins against the rate limiter.

We did this because this was a bug but also because it caused problems with our
e2e tests hitting the rate limit.
J
Joe Previte committed
08521077f054d01c8963244de6dbbb2680c82b01
Parent: 83cfbf8