Revert "new troubles in auth login"

This reverts commit 6048720f285462a65e998e4078812afbdefe575f.