Logins a new user into the Tonido System (HTTP POST)
| profile | name of the profile to authenticate |
| password | SHA-1 Hash of (user password) |
| safemode | whether to disable all plugins |
| autologin | whether to enable or disable automatic login |
<commands>
<command>
<type>loginprofile</type>
<result> { 0 | 1 | 2 } </result>
<message> { if Remote Login (2) Secret Qn } </message>
</command>
</commands>
Requirements:
Result code of 0-Failed to login 1-Login successful 2-Remote Login need secret question, secret ans is in the reason element