Pass connection object in :login_succeeded callback