diff --git a/restws_basic_auth/README.txt b/restws_basic_auth/README.txt
index 002bcf3..a2e3698 100644
--- a/restws_basic_auth/README.txt
+++ b/restws_basic_auth/README.txt
@@ -15,3 +15,13 @@ You can configure the regex (suitable for preg_match()) in your settings.php,
 e.g.:
 
 $conf['restws_basic_auth_user_regex'] = '/^web_service.*/';
+
+You might need this variable if, you have a site that is already behind Basic
+Auth (e.g. a test site being kept hidden from search engines). When you
+authenticate a user in that realm you probably don't want this module to try to
+authenticate them as a Drupal user.
+
+To authenticate all users, you can use a value like this (which is the default):
+
+$conf['restws_basic_auth_user_regex'] = '/.*/';
+
diff --git a/restws_basic_auth/restws_basic_auth.module b/restws_basic_auth/restws_basic_auth.module
index 7ec2913..19968dd 100644
--- a/restws_basic_auth/restws_basic_auth.module
+++ b/restws_basic_auth/restws_basic_auth.module
@@ -13,7 +13,7 @@
 function restws_basic_auth_init() {
   if (user_is_anonymous() && isset($_SERVER['PHP_AUTH_USER']) && isset($_SERVER['PHP_AUTH_PW'])) {
     // Login only user names that match a pattern.
-    $user_regex = variable_get('restws_basic_auth_user_regex', '/^restws.*/');
+    $user_regex = variable_get('restws_basic_auth_user_regex', '/.*/');
     if (preg_match($user_regex, $_SERVER['PHP_AUTH_USER'])) {
       $form_state = array();
       $form_state['values']['name'] = $_SERVER['PHP_AUTH_USER'];
