Add network check when authorization.
Merge branch 'master' of https://github.com/yurii-shylov/mimolet.git