[cyb-59] JS fetch auth library implemented.

Features to be implmented:
1. Tests;
2. Build system.
Corrected.