login template errors when no socialapp added