Fix login template require filter