Added support for varying account levels. Fixed bug in error reporting when making calls before authenticating.