Revert "UPD: for merging"

This reverts commit 6f545fd3c1be057cea5a7361d1a1da5f5881b311.
Revert "UPD: fix #554 Неправилный редирект на логин"

This reverts commit 855bc7f1ce4aff78561958d7b006aee4b87b9ae0.