This format worked for me! Here's a skeleton:
/account/insecurelogin?username=&password=&return_to=%2F
...which eventually looks something like this once you plug in your values...
https://splunk.local:8000/en-US/account/insecurelogin?username=username&password=password&return_to=%2F/en-US/app/search/dashboard
... View more