fix whitespace cosmetics in CProfileOperations::LoadProfile
cosmetics: simplify CProfileOperations::LoadProfile
jsonrpc: fix Profiles.LoadProfile with password
jsonrpc: fix Porfiles.LoadProfile with password-less profiles if the master-profile requires a password
Merge pull request #5456 from Montellese/jsonrpc_fix_profile_loading

JSON-RPC: fixes, refactoring and cosmetics in Profiles.LoadProfile