Update dependencies
Add tests for register/authenticate combinations