Credentials storage in XML with tests.