Fixed issue with omniauth not being set in inv