Move (chat-)login to a separate thread so that the application doesn't hang during it.

Signed-off-by: fr1zle <f@br0tbox.de>