Address some logic issues in LGEmailer class
	-- Only check for password if authentication is enabled in default.
	-- move the valid user check to top of password's if statement
	-- switch out long form ternary operators for short form.