[cyb-59] JS fetch auth library implemented.

JS fetch auth library is implemented.