made oauth throw an authorization exception key loading fails