Getting a mortgage with a bad credit history is possible, but you'll likely face higher rates and fewer options.