diff --git a/includes/install.core.inc b/includes/install.core.inc
index a74dfdf..dd9ea7a 100644
--- a/includes/install.core.inc
+++ b/includes/install.core.inc
@@ -1814,6 +1814,9 @@ function install_configure_form_submit($form, &$form_state) {
     }
   }
 
+  // Ensure all modules are loaded before loading the user.
+  module_load_all();
+
   // We precreated user 1 with placeholder values. Let's save the real values.
   $account = user_load(1);
   $merge_data = array('init' => $form_state['values']['account']['mail'], 'roles' => !empty($account->roles) ? $account->roles : array(), 'status' => 1);
