Android: Run remote authentication in dedicated thread