fixes(auth): ip not declared before logging