Securing auto financing used to be almost an afterthought—buy a car and pick a loan at the dealer. But now, with the rise of online car shopping, the marketplace is more competitive, with banks, credit unions and automaker-controlled lenders hitting up consumers a lot earlier in the buying process.