Make login() method return a tuple with success status

Signed-off-by: Maxime Petazzoni <max@signalfuse.com>
Add items to ChangeLog

Signed-off-by: Maxime Petazzoni <max@signalfuse.com>