How to pass authentication parameters in REST API?

I moved a post to a new topic: How to change UI styling of OpenMRS 2.2?