Fixes issue while upgrading from Alchemy v.2.2 if current value for column country_code IS NULL

and adopts to a compatible version of authlogic.