LPS-49008 Javascript bug when you only have "general" authentication form