Minor fixes to detect invalid configuration to enable github login service