Expose and use site locked config to bypass redirects

Cleanup some unused and redundant auth functions.