Even if your passport hasn't expired, it can get rejected by border officials. Here's what travelers should know.