Implemented basic auth for getAccount