Completed integration test for PLAIN authentication