Add settings for sync user and password.
Refactor view a little to check required settings.
Elaborate test setup to include required settings.