Fixes #3598 #4476 - setting locale and timeout of api requests

When testing this, please make sure you have checked out https://github.com/theforeman/hammer-cli/pull/98