restoring error message on login for the portal login template