Authentication frontend for gateway