#192 Implemented new authentication flow
- Resolves #192