Previously, if the main unit tests, test_common.py was
run before running this test, it would fail.
By clearing the cache at the start of the test, we
make its behavior consistent and predictable no
matter what other tests are also being ran,
and the assertion is adjusted to match.
related to https://github.com/ansible/awx/issues/217
* Adds a configure tower in tower setting for users to configure a saml
attribute that tower will use to put users into teams and orgs.
Relates #391.
Upstream `python-ldap` (surprisingly) does not support utf-8 DN. So
explicit encoding is needed.
Signed-off-by: Aaron Tan <jangsutsr@gmail.com>