Refactored login command
[#58912264]
Reuse targeted org and space if available
[#58912264]