feat: refactor auth structure

Pavel Kuzmenko requested to merge kpn/refactor_auth into master

Merge request reports