Fixed integer overflow in torrent file size, added torrent file retrieval, added authentication test when logging in