Fixed unwanted chars issue in login template