Progress with authentication, relates to issue #44
- Fixed tests
- Fixed lint issues