Adjusted exception handling
HTTP credentials are now stored in discrete type