Added password authentication test.
Added a doc to guide development of the test suite.