Update headers for requests and fix capability token exp timestamp

- Update user agent header
- Add Accept-Charset: utf-8
- Fix exp timestamp for capability token
- Use https for all tests