fixed IsAccountAuthorized when called outside of webrequest scope