title: Firebase: Why $firebaseSimpleLogin throws a SecurityError?
body: <p>I'm trying to register users using the Firebase Simple Login mechanism:</p>
  
  <pre><code>angular.module('MyApp').controller('LoginCtrl', function($scope, $firebaseSimpleLogin, FIREBASE_ROOT) {
    $scope.loginService = $firebaseSimpleLogin(new Firebase(FIREBASE_ROOT));
    $scope.user = {
      email: '',
      password: ''
    };
  
    $scope.register = function() {
      console.log('creating user...'); // I see this
      $scope.loginService.$createUser($scope.email, $scope.password).then(function(user) {
        console.log('done!'); // But not this
        console.log(user);
      });
    };
  });
  </code></pre>
  
  <p>But, I see the following error in the console:</p>
  
  <pre><code>Uncaught SecurityError: Blocked a frame with origin 
  "https://s-dal5-nss-15.firebaseio.com" from accessing a frame with origin
  "http://localhost:8100".  The frame requesting access has a protocol of "https", 
  the frame being accessed has a protocol of "http". Protocols must match.
  </code></pre>
  
  <p>and, the <code>$createUser</code> callback is not executed.</p>
  
  <p>I enabled the "Email &amp; Password" authentication and put <code>localhost</code> in the list of the Authorized Request Origins.</p>
  
  <p>What am I doing wrong?</p>