fixes #89: redirect to live site unless logging in, logged-in, api request, or drush command
commit mixup