Update database credentials
Add tests for PostProviderFactory