Better OAuth configuration handling for deployment