unit tests

- login ctrl tests
- add logic to login ctrl to clear login fields after failure
- rewrite auth login service promise logic to not return the get.then promise (this was causing the then of the login ctrl to fire even after a 401)
- in login ctrl, return promise so we can test
Merge pull request #25 from szimmers/ticket130912_unit_tests

unit tests