refs #684 - Fixed displaying login error message.