Make standard auth backend tests more reliable

Review Request #7756 — Created Nov. 6, 2015 and submitted — Latest diff uploaded

Information

Review Board
release-2.0.x

Reviewers

This patch no longer assumes the StandardAuthBackend is in a
particular place in the list of enabled authentication backends.
Instead, we now iterate through the enabled backends and return the
first one that is an instance of StandardAuthBackend (and not an
instance of a subclass of it).

Ran unit tests.