Fixed bug in forgot password error checking.