added plain authentication tests.