Accept invalid certs and fix token_cache_path (#3439)

Commit f40679cd52 pushed by mart-wmaster