Normalize authentication across routes