Don't redirect to login if API requests fail in auth flow. (#6982)
Don't redirect to login if API requests fail in auth flow. (#6982)

* Trailing space.

* Don't redirect if API requests for auth flow fail.

* Refactor for readability.

department-of-veterans-affairs/vets-website,department-of-veterans-affairs/vets-website