corrected namespace for http exceptions, removed exceptions from get token and secret