Grafana MongoDB integration

Hi All,
Having issues with special character within the datasource adding URL.
I am trying to add a mongoDB data source using the below URL

Where abcd_perf_user - username & apple$pie - password
it is failing to authenticate with below exception–
t=2018-09-24T07:24:34-0400 lvl=info msg=“Request Completed” logger=context userId=0 orgId=0 uname= method=PUT path=/api/datasources/1 status=401 remote_addr= time_ms=6 size=26 referer=http://localhost:8080/datasources/edit/1?gettingstarted

Is this issue with $ character used in password ? if yes then how to resolve.
thanks in advance