diff --git a/core/modules/system/src/Form/SiteInformationForm.php b/core/modules/system/src/Form/SiteInformationForm.php
index 1b1e3a6..b94472e 100644
--- a/core/modules/system/src/Form/SiteInformationForm.php
+++ b/core/modules/system/src/Form/SiteInformationForm.php
@@ -165,7 +165,7 @@ public function validateForm(array &$form, FormStateInterface $form_state) {
     // Check for empty front page path.
     if ($form_state->isValueEmpty('site_frontpage')) {
       // Set to default "user/login".
-      $form_state->setValueForElement($form['front_page']['site_frontpage'], '/user/login');
+      $form_state->setValueForElement($form['front_page']['site_frontpage'], '/user');
     }
     else {
       // Get the normal path of the front page.
diff --git a/core/modules/system/src/Tests/System/SiteInformationTest.php b/core/modules/system/src/Tests/System/SiteInformationTest.php
new file mode 100644
index 0000000..872032d
--- /dev/null
+++ b/core/modules/system/src/Tests/System/SiteInformationTest.php
@@ -0,0 +1,43 @@
+<?php
+
+/**
+ * @file
+ * Contains \Drupal\system\Tests\System\SiteInformationTest.
+ */
+
+namespace Drupal\system\Tests\System;
+
+use Drupal\simpletest\WebTestBase;
+
+/**
+ * Tests site information form.
+ *
+ * @group system
+ */
+class SiteInformationTest extends WebTestBase {
+
+  /**
+   * {@inheritdoc}
+   */
+  protected function setUp() {
+    parent::setUp();
+
+    // Create an administrative user.
+    $admin_user = $this->drupalCreateUser(['administer site configuration']);
+    $this->drupalLogin($admin_user);
+  }
+
+  /**
+   * Tests site information form.
+   */
+  protected function testSiteInformation() {
+    $edit = [
+      'site_name' => $this->randomString(),
+      'site_slogan' => $this->randomString(),
+      'site_mail' => 'admin@example.com',
+    ];
+
+    $this->drupalPostForm('admin/config/system/site-information', $edit, t('Save configuration'));
+    $this->assertText(t('The configuration options have been saved.'), 'Configuration options have been saved');
+  }
+}
