Make sure we always log in as app or provisioner (#17246)
Make sure we always log in as app or provisioner (#17246)

This also adds previously-required parameters back into
@PSBoundParameters to pass down to pre- and post-scripts.

Co-authored-by: Heath Stewart <000adcdb538a23958a5c8a47bf9d5190b62aba33@microsoft.com>
Azure/azure-sdk-for-java,Azure/azure-sdk-for-java,Azure/azure-sdk-for-java,Azure/azure-sdk-for-java,Azure/azure-sdk-for-java