Fixes #2. Hides the test message form if credentials are empty.