Reworking authentication layer configuration