fix: allowed login methods setting is ignored, refs #1376

#1376