closes #13; pass the correct config to the api/login call
Merge pull request #16 from asoftwareguy/issue-12

Fix issue with /api/login calls being replayed in AngularJS controller