No it’s not possible to give the one input dialog for username and password. You have to use the two Input dialog boxes one for Username and another one for Password.
In another case you can store the credentials in assets in orchestrator and use the get credentials activity to get the credentials from orchestrator