Secure Document Test File Now Follows Convention

This commit renames the test_document_secure.py script to
document_secure_test.py to make it match the naming convention for other
tests.
Change to login.py to Handle Redis Caching

Since Redis caching was added, several tests broke. This fixes the
login to handle Redis caching. Other fixes to tests will follow--and
they depend on the login working.