Updated the Metamask extension to the latest version. The process of auntification has been rewritten in accordance with the new version.
The update was necessary, because the old version of Metamask did not work in some countries, due to unspecified reasons.