How to access REST API **with** password