Sample LogOn code with Credentials prompt

Use Powershell cmdlet Get-Credentials to prompt user for API and Client
credentials. Also decoding password to be able to send it to API.