fixes omniauth login with multiple environment callback urls