title: Cannot authenticate with emberfire
body: <p>I am currently following this tutorial to authenticate my EmberApp with Firebase: <a href="http://vikram-s-narayan.github.io/blog/authentication-with-ember-and-firebase-part-1/" rel="nofollow">Ember authentication with Firebase</a>. I am working on the part which uses the Torii addon for authentication.</p>
  
  <p>Here is what I have done so far:</p>
  
  <p><em>app/torii-adapters/application.js</em></p>
  
  <pre><code>import Ember from 'ember';
  import ToriiFirebaseAdapter from 'emberfire/torii-adapters/firebase';
  
  export default ToriiFirebaseAdapter.extend({
    firebase: Ember.inject.service()
  });
  </code></pre>
  
  <p><em>app/adapters/application.js</em></p>
  
  <pre><code>import config from '../../config/environment';
  import FirebaseAdapter from 'emberfire/adapters/firebase';
  import Firebase from 'firebase';
  
  export default FirebaseAdapter.extend({
    firebase: new Firebase(config.firebase)
  });
  </code></pre>
  
  <p><em>config/environment.js</em></p>
  
  <pre><code>module.exports = function(environment) {
    var ENV = {
      modulePrefix: 'my-auth-test',
      environment: environment,
      baseURL: '/',
      locationType: 'auto',
      firebase: 'MY_FIREBASE_URL',
      torii: {
        sessionServiceName: 'session'
      },
      EmberENV: {
        FEATURES: {
          // Here you can enable experimental features on an ember canary             build
          // e.g. 'with-controller': true
        }
      },
  
      APP: {
        // Here you can pass flags/options to your application instance
        // when it is created
      }
    };
  ...
  </code></pre>
  
  <p><em>routes/application.js -> Login function</em></p>
  
  <pre><code>login: function() {
    var controller = this.get('controller');
    var email = controller.get('userEmail');
    var password = controller.get('userPassword');
    this.get('session').open('firebase', {
      provider: 'password',
      email: email,
      password: password
    }).then(function() {
      this.transitionTo('protected');
    }.bind(this));
  }
  </code></pre>
  
  <p>The problem that I have is the following error:
  Please set the <code>firebase</code> property in your environment config.</p>
  
  <p>But as far as I can see I have the property set. Can someone help me fix this issue?</p>