* libs/web: Reworked authentication