Fixed wrong security password check